window.Vue = require('vue').default;
import axios from "axios";
import VueAxios from 'vue-axios'
require('element-ui');

Vue.use(VueAxios, axios)

const files = require.context('./', true, /\.vue$/i)
files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default))